﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MCToOrderApproval.aspx.cs" Inherits="OLPC_MCToOrderApproval" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxUploadControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.1, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxClasses" tagprefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>收款与订单匹配审批</title>
    <link href="../Styles/main.css" rel="Stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="../Jscript/common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="headlocation" class="headlocation">
            <asp:Label ID="lblLocation" runat="server" Text="当前位置"></asp:Label>
            <img alt="当前位置" src="../Image/weizhi.gif" />>>
            <asp:Label ID="Label1" runat="server" Text="收款与订单匹配审批"></asp:Label>
        </div>
        <fieldset class="fieldset">
            <legend class="lblfieldset"><label class="lblfieldset">收款匹配审批</label></legend>
            <div style="padding:5px 10px 5px 10px;">
                <dx:ASPxGridView ID="gv" Width="100%" runat="server" 
                    AutoGenerateColumns="False" 
                    OnAfterPerformCallback="gv_AfterPerformCallback">
                    <Columns>
                        <dx:GridViewDataColumn Caption="退回" Width="40px" FixedStyle="Left">
                            <DataItemTemplate>
                                <asp:ImageButton ID="imgbtnDelete" runat="server" AlternateText="退回"
                                    CommandArgument='<%# Eval("AccountStatementItemCode") %>' CommandName="delete"
                                    ImageUrl="../Image/close.gif" 
                                    OnClientClick="return confirm('你确定退回！');" />
                            </DataItemTemplate> 
                            <CellStyle HorizontalAlign="Center">
                            </CellStyle>
                        </dx:GridViewDataColumn>
                        <dx:GridViewDataColumn Caption="审批" Width="40px" FixedStyle="Left">
                            <DataItemTemplate>
                                <asp:ImageButton ID="imgbtnDelete" runat="server" AlternateText="审批"
                                    CommandArgument='<%# Eval("AccountStatementItemCode") %>' CommandName="delete"
                                    ImageUrl="../Image/reset.gif" 
                                    OnClientClick="return confirm('你确定审批通过！');" />
                            </DataItemTemplate> 
                            <CellStyle HorizontalAlign="Center">
                            </CellStyle>
                        </dx:GridViewDataColumn>
                        <dx:GridViewDataTextColumn Caption="银行参考号" FieldName="BankReference" 
                            Width="140px" FixedStyle="Left">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="客户参考号" FieldName="CustomerReference" Visible="false">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="起息日" FieldName="ValueDate" Width="140px">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="入账日期" FieldName="EntryDate" Width="140px">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="交易金额" FieldName="TransactionAmount" Width="140px" FixedStyle="Left">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="产品类型" FieldName="ProductType" Width="160px">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="交易说明" FieldName="TransactionDescription" Width="200px">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="额外信息" FieldName="ExtraInformation" Width="200px">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="汇款人/开票人名称" FieldName="OrderingPartyName" Width="200px">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="汇款人/开票人账户" FieldName="OrderingPartyAccount" Width="200px">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="定购方银行名称" FieldName="OrderingPartyBankName" Width="200px">
                            <Settings AllowAutoFilter="True" AllowDragDrop="True" 
                                AutoFilterCondition="Contains" FilterMode="DisplayText" />
                        </dx:GridViewDataTextColumn>                                        
                        <dx:GridViewDataTextColumn Caption="付款细节" FieldName="PaymentDetails" Width="220px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="公司" FieldName="CoName" Width="120px">
                        </dx:GridViewDataTextColumn>
                    </Columns>
                        <SettingsPager PageSize="10" Mode="ShowPager">
                        </SettingsPager>
                        <SettingsBehavior ColumnResizeMode="Control"></SettingsBehavior>
                        <Settings ShowFilterRow="True" ShowFilterRowMenu="true"
                        ShowHorizontalScrollBar="True" VerticalScrollableHeight="22">
                        </Settings>
                </dx:ASPxGridView>
            </div>
        </fieldset>
    </form>
</body>
</html>
